//}}AFX_INCLUDES
#if !defined(AFX_NEWWINDOWDLG_H__5751D261_C479_4EB0_B713_9331E15D9169__INCLUDED_)
#define AFX_NEWWINDOWDLG_H__5751D261_C479_4EB0_B713_9331E15D9169__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NewWindowDlg.h : header file
//

#include "Resource.h"


/////////////////////////////////////////////////////////////////////////////
// CNewWindowDlg dialog

class CNewWindowDlg : public CDialog
{
// Construction
public:
	CNewWindowDlg(CWnd* pParent = NULL);   // standard constructor
	CString m_strURL;

// Dialog Data
	//{{AFX_DATA(CNewWindowDlg)
	enum { IDD = IDD_DIALOG_LOAD };

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNewWindowDlg)
	public:
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CNewWindowDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClose();
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC *pDC);
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp);

private:
	static int ms_nTopSize;
	static int ms_nLeftSize;
	static int ms_nRightSize;
	static int ms_nBottomSize;
	BOOL m_bMaximum;
	CRect m_rcOldRect;

public:
	afx_msg void OnNcPaint();
	afx_msg LRESULT OnNcHitTest(CPoint point);
	afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
	afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
	afx_msg void OnNcMButtonDblClk(UINT nHitTest, CPoint point);
	afx_msg void OnNcLButtonDblClk(UINT nHitTest, CPoint point);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NEWWINDOWDLG_H__5751D261_C479_4EB0_B713_9331E15D9169__INCLUDED_)
